﻿/*
 * ========================================================================
 * Copyright(c) 2007-2012 情留メ蚊子, All Rights Reserved.
 * Welcom use the LiteFetion.
 * See more information,Please goto http://www.94qing.com
 * ========================================================================
 * 
 * 作 者：情留メ蚊子
 * Q  Q: 540644769
 * 邮 箱：qlwz@qq.com
 * 网 址：http://www.94qing.com
 * ========================================================================
*/

namespace LiteFetion.Model
{
    /// <summary>
    /// 操作结果
    /// </summary>
    public enum ActionResult : int
    {
        /// <summary>
        /// 操作成功
        /// </summary>
        SUCCESS = 200,

        /// <summary>
        /// 参数错误
        /// </summary>
        WRONG_PARAM = 400,

        /// <summary>
        /// 好友已经存在
        /// </summary>
        BUDDY_EXISTS = 410,

        /// <summary>
        /// 验证码验证失败
        /// </summary>
        VERIFY_FAILED = 420,

        /// <summary>
        /// 请求失败，服务器返回了错误的结果
        /// </summary>
        REQUEST_FAILED = 430,

        /// <summary>
        /// 网络错误
        /// </summary>
        HTTP_FAILED = 440,

        /// <summary>
        /// JSON解析错误
        /// </summary>
        JSON_FAILED = 450,

        /// <summary>
        /// 头像不存在
        /// </summary>
        PORTRAIT_NOT_FOUND = 510,

        /// <summary>
        /// 账号无效
        /// </summary>
        USER_INVALID = 700,

        /// <summary>
        /// 密码错误
        /// </summary>
        PASSWORD_NOT_MATCH = 701,

        /// <summary>
        /// 已经欠费
        /// </summary>
        USER_SUSPEND = 702,

        /// <summary>
        /// 未开通飞信
        /// </summary>
        USER_NOT_FOUND = 703
    }
}
